//
//  MyViewController.m
//  ShowMe
//
//  Created by 123 on 2018/9/5.
//  Copyright © 2018年 nkl. All rights reserved.
//

#import "MyViewController.h"

@interface MyViewController ()

@end

@implementation MyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"个人";
    NSLog(@"---%@",[UserConfig fetchUserInfo]);
    //头
//    UIView * m_headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, __KNewSize(150))];
//    m_headerView.backgroundColor = [UIColor clearColor];
//
//    UIView *bgView = [[UIView alloc] init];
//    bgView.backgroundColor = [UIColor clearColor];
//    [m_headerView addSubview:bgView];
//    [bgView mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.left.top.bottom.equalTo(m_headerView);
//        make.width.mas_equalTo(self.view.frame.size.width/2+30);
//    }];
//
//    UIView * lineView = [[UIView alloc] init];
//    lineView.backgroundColor = [UIColor whiteColor];
//    [bgView addSubview:lineView];
//    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.bottom.equalTo(m_headerView.mas_bottom);
//        make.height.mas_equalTo(__KNewSize(1));
//        make.width.mas_equalTo(self.view.frame.size.width);
//        make.left.equalTo(m_headerView);
//    }];
//
//    UIButton * headIcon = [[UIButton alloc] init];
//    [headIcon setImage:[UIImage imageNamed:@"DeafultHeader"] forState:UIControlStateNormal];
//    headIcon.backgroundColor = [UIColor lightGrayColor];
//    headIcon.layer.cornerRadius = __KNewSize(32);
//    headIcon.layer.masksToBounds = YES;
//    [bgView addSubview:headIcon];
//    [headIcon mas_makeConstraints:^(MASConstraintMaker *make) {
//        //        make.left.equalTo(m_headerView).offset(__KNewSize(50));
//        //        make.centerY.equalT12o(m_headerView);
//        make.center.equalTo(bgView);
//        make.width.height.mas_equalTo(__KNewSize(64));
//    }];
//    self.tableView.tableHeaderView = m_headerView;
}

//-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
//    return 3;
//}
//
//-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
//    if (section == 0){
//
//    }else if (section == 1){
//        return 3;
//    }else if (section == 2){
//        return 2;
//    }else{
//        return 0;
//    }
//    return 0;
//}
//

@end
